//
//  EducationOfExperienceModel.m
//  FindJob
//
//  Created by apple on 16/3/14.
//  Copyright © 2016年 Lee. All rights reserved.
//

#import "EducationOfExperienceModel.h"

@implementation EducationOfExperienceModel
- (NSArray *)gainEducationOfExperienceModel{
    NSString *path = [[NSBundle mainBundle] pathForResource:@"eofe" ofType:@"plist"];
    NSArray *titles = [NSArray arrayWithContentsOfFile:path];
    NSMutableArray *resultArr = [[NSMutableArray alloc] init];
    NSArray *values = [[NSArray alloc] init];
    for (int i = 0; i < titles.count; i++) {
        switch (i) {
            case 0:
            {
                values = [NSArray array];
            }break;
            case 1:
            {
                values = [NSArray array];
            }break;
            case 2:
            {
                values = [NSArray array];
            }break;
            case 3:
            {
                values = [self gainEducation];
            }break;
            case 4:
            {
                values = [NSArray array];
            }break;
            case 5:
            {
                values = [NSArray array];
            }break;
            case 6:
            {
                values = [NSArray array];
            }break;
          
            default:
                break;
        }
        NSDictionary *dict =@{titles[i]:values};
        [resultArr addObject:dict];
    }
    return resultArr;

}
- (NSArray *)gainEducation{
    NSString *path = [[NSBundle mainBundle] pathForResource:@"LocalOptions" ofType:@"plist"];
    NSDictionary *dict = [NSDictionary dictionaryWithContentsOfFile:path];
    NSArray *resultArr = dict[@"education"];
    return resultArr;
}

@end
